package com.liuzhongni.wahahanews.headlineclass;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by admin on 2016/1/8.
 */
public class ResponseEtyThird implements Parcelable{
    private String imgsrc;
    private String subtitle;
    private String tag;
    private String title;
    private String url;


    protected ResponseEtyThird(Parcel in) {
        imgsrc = in.readString();
        subtitle = in.readString();
        tag = in.readString();
        title = in.readString();
        url = in.readString();
    }

    public static final Creator<ResponseEtyThird> CREATOR = new Creator<ResponseEtyThird>() {
        @Override
        public ResponseEtyThird createFromParcel(Parcel in) {
            return new ResponseEtyThird(in);
        }

        @Override
        public ResponseEtyThird[] newArray(int size) {
            return new ResponseEtyThird[size];
        }
    };

    public String getImgsrc() {
        return imgsrc;
    }

    public void setImgsrc(String imgsrc) {
        this.imgsrc = imgsrc;
    }

    public String getSubtitle() {
        return subtitle;
    }

    public void setSubtitle(String subtitle) {
        this.subtitle = subtitle;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(imgsrc);
        dest.writeString(subtitle);
        dest.writeString(tag);
        dest.writeString(title);
        dest.writeString(url);
    }
}
